package service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;

import java.util.List;

/**
 * ClassName: CheckGroupService
 * Description:
 * date: 2019/11/21 15:21
 * Author Airson
 * Since JDK 1.8
 */
public interface CheckGroupService {

    PageResult findByQueryString(QueryPageBean queryPageBean);

    void add(Integer[] checkitemIds, CheckGroup checkGroup);

    CheckGroup findByID(Integer id);

    List<Integer> findCheckItemIdsById(Integer id);

    void edit(Integer[] checkitemIds, CheckGroup checkGroup);

    void delById(Integer id);

    List<CheckGroup> findAll();
}

